package org.jarraiders.musiclibrary.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class AddTrackEvent extends GwtEvent<AddTrackEventHandler> {
  public static Type<AddTrackEventHandler> TYPE = new Type<AddTrackEventHandler>();
  
  @Override
  public Type<AddTrackEventHandler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(AddTrackEventHandler handler) {
    handler.onAddTrack(this);
  }
}
